Skip to content

Conversation

@FrankYFTang
Copy link
Collaborator

@FrankYFTang FrankYFTang requested a review from grhoten June 27, 2025 21:54

DictionaryKeyIterator::DictionaryKeyIterator(DictionaryKeyIterator&& iterator)
: trieIterator(iterator.trieIterator)
: trieIterator(iterator.trieIterator.release())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're removing the npc checks elsewhere, then this line needs an null pointer check added here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL

@FrankYFTang FrankYFTang requested a review from grhoten June 28, 2025 00:41
@FrankYFTang FrankYFTang merged commit 2e4206c into unicode-org:main Jun 30, 2025
6 checks passed
@FrankYFTang FrankYFTang deleted the DictionaryKeyIterator branch June 30, 2025 18:57
deonajulary06 pushed a commit that referenced this pull request Aug 21, 2025
* Inflection 134 std::unique_ptr for DictionaryKeyIterator.cpp

* add npc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants